o = xfa.resolveNode("xfa[0].template[0].outerform[0].sub1[0]"); 
o2 = xfa.resolveNode("xfa[0].form[0].outerform[0].sub2[0]");
o.nodes.append(o2);		
o2.presence = "inactive";
app.alert("no crash!");